﻿@{
    ViewBag.Title = "港口";
}

@section PSI_JS {
    <script src="@Url.Content("~/Scripts/PSI/App.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/PSI/Port/MainForm.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/PSI/Port/EditForm.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
}

<script type="text/javascript">
    Ext.onReady(function () {
        var app = Ext.create("PSI.App", {
            userName: "@ViewBag.UserName"
        });

        app.createMainUI();

        var mp = app.getMainPanel();

        var mainForm = Ext.create("PSI.Port.MainForm");

        mainForm.createUI();

        mp.add(mainForm.getMainPanel());

    });
</script>
